package com.thinkmore.business.bean;

import org.hibernate.validator.constraints.Length;

import java.time.LocalDateTime;

public class UserDetail {
    @Length(min = 4, max = 20, message = "姓名长度只能在4-20之间")
    private String trueName;
    private LocalDateTime birthday;
    private Integer sex;

    public String getTrueName() {
        return trueName;
    }

    public void setTrueName(String trueName) {
        this.trueName = trueName;
    }

    public LocalDateTime getBirthday() {
        return birthday;
    }

    public void setBirthday(LocalDateTime birthday) {
        this.birthday = birthday;
    }

    public Integer getSex() {
        return sex;
    }

    public void setSex(Integer sex) {
        this.sex = sex;
    }
    
}
